package cn.exrick.xboot.modules.assessment.vo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @ClassNameHkAssessmentInfoAndFlowQueryVo
 * @Description
 * @Author yck
 * @Date2021-01-20 14:13
 * @Version V1.0
 **/

public class HkAssessmentInfoAndFlowQueryVo {
    @Setter @Getter
    private String nickName;
    @Setter @Getter
    private String departmentId;
    @Setter @Getter
    private String postId;
    @Setter @Getter
    private String flowTemplateId;
    @Setter @Getter
    private Integer pageNumber;
    @Setter @Getter
    private Integer pageSize;
    @Setter
    private Integer firstRow;
    @Setter
    private Integer lastRow;
    @Setter @Getter
    private Integer nodeName;

    public Integer getFirstRow() {
        firstRow=pageSize*(pageNumber-1);
        return firstRow;
    }

    public Integer getLastRow() {
        lastRow=pageSize;
        return lastRow;
    }

}
